package com.lyrpx.dao;

public class UserDaoImpl implements UserDao {

    @Override
    public void login(String name, String password) {
        if("张三".equals(name)&&"123".equals(password)){
            System.out.println("登录成功!");
        }else{
            System.out.println("登录失败!");
        }
    }
}
